﻿<Window x:Class="AniScrollViewerExample.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:AniScrollViewerExample"
        Title="Window1" Height="300" Width="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="50"></RowDefinition>
        </Grid.RowDefinitions>
        <local:AniScrollViewer x:Name="mainViewer" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
            <StackPanel x:Name="mainContent"></StackPanel>
        </local:AniScrollViewer>
        <StackPanel Margin="10,10,0,10" Grid.Row="1" Orientation="Horizontal" Width="258">
            <ComboBox x:Name="cbJumpTo" Margin="5" Width="150"></ComboBox>
            <Button x:Name="btnAnimate" Margin="5" Click="btnAnimate_Click">Start Animation</Button>
        </StackPanel>
    </Grid>
</Window>
